package com.jiawa.train.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.domain.TrainStation;
import com.jiawa.train.business.req.TrainStationQueryReq;
import com.jiawa.train.business.resp.TrainStationQueryResp;
import com.jiawa.train.common.resp.PageResp;

import java.util.List;

public interface TrainStationService extends IService<TrainStation> {
    // 可添加自定义方法声明
    void save(com.jiawa.train.business.req.TrainStationSaveReq req);
    PageResp<TrainStationQueryResp> queryList(TrainStationQueryReq req);
    void delete(Long id);
    List<TrainStation> selectByTrainCode(String trainCode);
}
